﻿using DzInfo.Tools;
using System.Collections.Generic;

namespace DzInfo.Model.KD
{
    public class TransferDirect
    {
        ///// <summary>
        ///// 
        ///// </summary>
        //public List<string> NeedUpDateFields { get; set; }
        ///// <summary>
        ///// 
        ///// </summary>
        //public List<string> NeedReturnFields { get; set; }
        ///// <summary>
        ///// 
        ///// </summary>
        //public string IsDeleteEntry { get; set; }
        ///// <summary>
        ///// 
        ///// </summary>
        //public string SubSystemId { get; set; }
        ///// <summary>
        ///// 
        ///// </summary>
        //public string IsVerifyBaseDataField { get; set; }
        ///// <summary>
        ///// 
        ///// </summary>
        //public string IsEntryBatchFill { get; set; }
        ///// <summary>
        ///// 
        ///// </summary>
        //public string ValidateFlag { get; set; }
        ///// <summary>
        ///// 
        ///// </summary>
        //public string NumberSearch { get; set; }
        ///// <summary>
        ///// 
        ///// </summary>
        //public string IsAutoAdjustField { get; set; }
        ///// <summary>
        ///// 
        ///// </summary>
        //public string InterationFlags { get; set; }
        ///// <summary>
        ///// 
        ///// </summary>
        //public string IgnoreInterationFlag { get; set; }
        ///// <summary>
        ///// 
        ///// </summary>
        //public string IsControlPrecision { get; set; }
        ///// <summary>
        ///// 
        ///// </summary>
        //public string ValidateRepeatJson { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool IsAutoSubmitAndAudit { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public TransferDirectModel Model { get; set; }
    }
    public class FAuxPropId
    {
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FAUXPROPID__FF100001 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FAUXPROPID__FF100002 { get; set; }
    }

    public class FSrcStockLocId
    {
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FSRCSTOCKLOCID__FF100001 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FSRCSTOCKLOCID__FF100002 { get; set; }
    }

    public class FDestStockLocId
    {
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FDESTSTOCKLOCID__FF100001 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FDESTSTOCKLOCID__FF100002 { get; set; }
    }


    public class FBillEntryItem
    {
        /// <summary>
        /// 
        /// </summary>
        //public int FEntryID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public string FRowType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FMaterialId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public GetNumber FParentMatId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FAuxPropId FAuxPropId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FUnitID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal FQty { get; set; }
        /// <summary>
        /// 批号
        /// </summary>
        public GetNumber FLot { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FSrcStockId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FSrcStockLocId FSrcStockLocId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FDestStockId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FDestStockLocId FDestStockLocId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public GetNumber FBomId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FSrcStockStatusId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public string FDeliChkQualifyType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public string FProduceDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FDestStockStatusId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public string FMtoNo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public string FBusinessDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public string FExpiryDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public string FSrcBillTypeId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FOwnerTypeOutId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FOwnerOutId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FOwnerTypeId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FOwnerId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public string FNoteEntry { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public string FSrcBillNo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public string FProjectNo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public GetNumber FSecUnitId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public int FSecQty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public GetNumber FExtAuxUnitId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public int FExtAuxUnitQty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FBaseUnitId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal FBaseQty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public string FISFREE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FKeeperTypeId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public int FActQty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FKeeperId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FKeeperTypeOutId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FKeeperOutId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public int FDiscountRate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public int FRepairQty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public string FRETURNNOTE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public GetNumber FDestLot { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FDestMaterialId { get; set; }
        ///// <summary>
        ///// 
        ///// </summary>
        //public GetNumber FDestBomId { get; set; }
        ///// <summary>
        ///// 
        ///// </summary>
        //public GetNumber FSaleUnitId { get; set; }
        ///// <summary>
        ///// 
        ///// </summary>
        //public int FSaleQty { get; set; }
        ///// <summary>
        ///// 
        ///// </summary>
        //public int FSalBaseQty { get; set; }
        ///// <summary>
        ///// 
        ///// </summary>
        //public GetNumber FPriceUnitID { get; set; }
        ///// <summary>
        ///// 
        ///// </summary>
        //public int FPriceQty { get; set; }
        ///// <summary>
        ///// 
        ///// </summary>
        //public int FPriceBaseQty { get; set; }
        ///// <summary>
        ///// 
        ///// </summary>
        //public int FOutJoinQty { get; set; }
        ///// <summary>
        ///// 
        ///// </summary>
        //public int FBASEOUTJOINQTY { get; set; }
        ///// <summary>
        ///// 
        ///// </summary>
        //public string FServiceContext { get; set; }
        ///// <summary>
        ///// 
        ///// </summary>
        //public int FSOEntryId { get; set; }
        ///// <summary>
        ///// 
        ///// </summary>
        //public string FTransReserveLink { get; set; }
        ///// <summary>
        ///// 
        ///// </summary>
        //public int FQmEntryId { get; set; }
        ///// <summary>
        ///// 
        ///// </summary>
        //public int FConvertEntryId { get; set; }
        ///// <summary>
        ///// 
        ///// </summary>
        //public string FThirdSrcEntryId { get; set; }
        ///// <summary>
        ///// 
        ///// </summary>
        //public string FCheckDelivery { get; set; }
        ///// <summary>
        ///// 
        ///// </summary>
        //public int FBomEntryId { get; set; }
    }

    public class TransferDirectModel
    {
        /// <summary>
        /// 自动调拨源单号
        /// </summary>
        public string FTrBillNo {  get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public int FID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public string FBillNo { get; set; }
        /// <summary>
        /// 单据类型
        /// </summary>
        public GetNumber FBillTypeID { get; set; }
        /// <summary>
        /// 业务类型
        /// </summary>
        public string FBizType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FTransferDirect { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FTransferBizType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FTransferBizTypeId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FSettleOrgId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FSaleOrgId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FStockOutOrgId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FOwnerTypeOutIdHead { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FOwnerOutIdHead { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FStockOrgId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool FIsIncludedTax { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool FIsPriceExcludeTax { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FExchangeTypeId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FOwnerTypeIdHead { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public GetNumber FSETTLECURRID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public int FExchangeRate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetNumber FOwnerIdHead { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public GetNumber FStockerId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public GetNumber FStockerGroupId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FNote { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public GetNumber FBaseCurrId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public GetNumber FSUPPLIERID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public GetNumber FCustID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public string FScanBox { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public string FThirdSystem { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public string FThirdSrcBillNo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public string FThirdSrcId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public string FWriteOffConsign { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public GetNumber FOUTDEPTID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public GetNumber FINDEPTID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public GetNumber FFromOrg { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public GetNumber FFromStock { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<FBillEntryItem> FBillEntry { get; set; }
    }
}
